package com.mysky.client.mvp.audioplayer.event;

import com.google.gwt.event.shared.EventHandler;
import com.google.gwt.event.shared.GwtEvent;
import com.mysky.client.mvp.audioplayer.event.MDSongPausedEvent.MDSongPausedEventHandler;

public class MDSongPausedEvent extends
		GwtEvent<MDSongPausedEventHandler> {

	public static final Type<MDSongPausedEventHandler> TYPE = new Type<MDSongPausedEventHandler>();

	public MDSongPausedEvent() {
		super();
	}

	public interface MDSongPausedEventHandler extends EventHandler {
		void handleEvent(MDSongPausedEvent event);
	}

	@Override
	public Type<MDSongPausedEventHandler> getAssociatedType() {
		return TYPE;
	}

	@Override
	protected void dispatch(MDSongPausedEventHandler handler) {
		handler.handleEvent(this);
	}
}